package com.luhuiguo.contacts.server.service;

import java.util.List;

import com.luhuiguo.contacts.shared.entity.Contact;

public interface ContactService {
    
    Contact createContact(Contact contact);
    
    Contact getContact(Long id);
    
    Contact updateContact(Contact contact);
    
    void removeContact(Long id);

    List<Contact> findAllContact(int... rowStartIdxAndCount);
}
